﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;


namespace LogForParameter.Model
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable( "PUBLIC_USERINFO", "wmblog_oracle")]
    public class PUBLIC_USERINFO
    {
           public PUBLIC_USERINFO()
           {
           }
           /// <summary>
           /// Desc:工号
           /// Default:
           /// Nullable:False
           /// </summary>
           [SugarColumn(IsPrimaryKey=true)]
           public string JOBNUMBER { get; set; }
           /// <summary>
           /// Desc:用户姓名
           /// Default:
           /// Nullable:True
           /// </summary>
           public string USERNAME { get; set; }
           /// <summary>
           /// Desc:加密后的密码
           /// Default:
           /// Nullable:True
           /// </summary>
           public string PASSWORD { get; set; }
           /// <summary>
           /// Desc:是否有效
           /// Default:
           /// Nullable:True
           /// </summary>
           public decimal? ISENABLE { get; set; }
           /// <summary>
           /// Desc:拼音码
           /// Default:
           /// Nullable:True
           /// </summary>
           public string PINYIN { get; set; }
           /// <summary>
           /// Desc:创建时间
           /// Default:
           /// Nullable:True
           /// </summary>
           public DateTime? CREATETIME { get; set; }
           /// <summary>
           /// Desc:创建人id
           /// Default:
           /// Nullable:True
           /// </summary>
           public string CREATID { get; set; }
           /// <summary>
           /// Desc:修改时间
           /// Default:
           /// Nullable:True
           /// </summary>
           public DateTime? MODIFYTIME { get; set; }
           /// <summary>
           /// Desc:修改人工号
           /// Default:
           /// Nullable:True
           /// </summary>
           public string MODIFYID { get; set; }
           /// <summary>
           /// Desc:创建人姓名
           /// Default:
           /// Nullable:True
           /// </summary>
           public string CREATOR { get; set; }
           /// <summary>
           /// Desc:修改人姓名
           /// Default:
           /// Nullable:True
           /// </summary>
           public string MODIFIER { get; set; }
           /// <summary>
           /// Desc:职称id
           /// Default:
           /// Nullable:True
           /// </summary>
           public string DUTYID { get; set; }
           /// <summary>
           /// Desc:职务（已不用）
           /// Default:
           /// Nullable:True
           /// </summary>
           public string FUNCTION { get; set; }
           /// <summary>
           /// Desc:院区代码
           /// Default:
           /// Nullable:False
           /// </summary>
           [SugarColumn(IsPrimaryKey=true)]
           public string HOSID { get; set; }
           /// <summary>
           /// Desc:职务id
           /// Default:
           /// Nullable:True
           /// </summary>
           public string ZWID { get; set; }
           /// <summary>
           /// Desc:科室代码
           /// Default:
           /// Nullable:True
           /// </summary>
           public string DEPARTMENTID { get; set; }
           /// <summary>
           /// Desc:查询信息（保存当前查询设置用）
           /// Default:
           /// Nullable:True
           /// </summary>
           public string SEARCH_INFO { get; set; }
           /// <summary>
           /// Desc:诊疗小组
           /// Default:
           /// Nullable:True
           /// </summary>
           public string TREAT_GROUP { get; set; }
           /// <summary>
           /// Desc:中医项目类型权限（1表示有）
           /// Default:
           /// Nullable:True
           /// </summary>
           public short? ITEM_TYPE { get; set; }
           /// <summary>
           /// Desc:医嘱查询用
           /// Default:
           /// Nullable:True
           /// </summary>
           public string SEARCH_INFO2 { get; set; }
           /// <summary>
           /// Desc:日志权限
           /// Default:
           /// Nullable:True
           /// </summary>
           public string LOG_FLAG { get; set; }
           /// <summary>
           /// Desc:其他科室列表
           /// Default:
           /// Nullable:True
           /// </summary>
           public string OTHER_DEPARTMENTID_LIST { get; set; }
           /// <summary>
           /// Desc:手机号码
           /// Default:
           /// Nullable:True
           /// </summary>
           public string PHONE_NUMBER { get; set; }
           /// <summary>
           /// Desc:特殊检查项目，1表示有权限开特殊的项目；
           /// Default:
           /// Nullable:True
           /// </summary>
           public short? SPECIAL_ITEM { get; set; }
           /// <summary>
           /// Desc:是否具有特殊使用级抗菌药物会诊权限
           /// Default:
           /// Nullable:True
           /// </summary>
           public short? ANTIBIOTIC_SPE_CONSULT { get; set; }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>
           public short? ISNURSEBOARD { get; set; }
           /// <summary>
           /// Desc:密码修改时间
           /// Default:
           /// Nullable:True
           /// </summary>
           public DateTime? PASSWORD_CHANGE_TIME { get; set; }
           /// <summary>
           /// Desc:密码输入错误次数
           /// Default:
           /// Nullable:True
           /// </summary>
           public short? PASSWORD_ERROR_NUMBER { get; set; }
           /// <summary>
           /// Desc:密码输入错误时间
           /// Default:
           /// Nullable:True
           /// </summary>
           public DateTime? ERROR_TIME { get; set; }
    }
}